package cn.ml.ssmdemo.service;

import cn.ml.ssmdemo.entity.Student;
import cn.ml.ssmdemo.entity.StudentExample;

import java.util.List;

public interface StudentService {
    Student get(int id);
    List<Student> list(StudentExample example);
    void save(Student student);
    void update(Student student);
    void deleteById(int id);
    void deleteByExample(StudentExample example);
    long count(int id);
}
